package main.resources.controller.command.category;

import main.resources.controller.command.Command;
import main.resources.controller.dao.moodle.MdlCourseCategoryDao;
import main.resources.exceptions.DaoException;
import main.resources.model.entity.moodle.MdlCourseCategory;

public class CategoryIncludeCommand implements Command {

	private MdlCourseCategory category; 

	public CategoryIncludeCommand(MdlCourseCategory category) {
		this.category = category;
	}

	@Override
	public void execute() throws DaoException {
		MdlCourseCategoryDao.getInstance().include(category);	
	}

}
